/**
 * 功能描述 联盟团信息
 * @author zhoulin
 */
define(function (require, exports, module) {
    //引入视图基类
    var ELView = require("elview");

    //assets
    var template = require("./assets/tpl/alliancesignup_main.tpl");
    require("./assets/css/alliancesignup_main.css");

    //business

    //component
    var allianceSubnav = require("./component/allianceSubnav");
    var allianceGrid = require("./component/allianceGrid");
    var allianceForm = require("./component/allianceForm");
    var allianceEditGrid = require("./component/allianceEditGrid");
    var alliancePerGrid = require("./component/alliancePerGrid");
    var allianceRoomEditGrid = require("./component/allianceRoomEditGrid");

    //constant
    
    //handler

    //store

    var App = ELView.extend({
        attrs: {
            template: template
        },
        initComponent: function (params, widget) {
        	
        	allianceSubnav.initComponent(params, widget);
        	allianceGrid.initComponent(params, widget);
        	allianceForm.initComponent(params, widget);
        	allianceEditGrid.initComponent(params, widget);
        	alliancePerGrid.initComponent(params, widget);
        	allianceRoomEditGrid.initComponent(params, widget);
        	
        },
        afterInitComponent: function (params, widget) {
            //处理更多的业务�?�辑
        }
    });

    module.exports = App;
});
